<?php
namespace App\Http\Controllers\System;

use App\Http\Controllers\Controller;
use App\Repositories\System\NoticeRepository;

class NoticeController extends Controller{

    public function noticelist(NoticeRepository $repository)
    {
        $res = $repository->noticeLists();
        if ($res) return success($res);
        return failed("查询失败");
    }

}